package io.gitee.zhangbinhub.admin.workflow.repo

import io.gitee.zhangbinhub.admin.workflow.base.BaseRepository
import io.gitee.zhangbinhub.admin.workflow.entity.WorkFlowDefinition

/**
 * @author zhangbin by 2018-1-17 17:44
 * @since JDK 11
 */
interface WorkFlowDefinitionRepository : BaseRepository<WorkFlowDefinition, String> {
    fun findAllByProcessKeyOrderByVersionDesc(processKey: String): MutableList<WorkFlowDefinition>
}
